﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xinkui.WebModel.BasicClass;
using Xinkui.WebModel.Cache.View;

namespace Xinkui.WebModel.BasicControl {
    public class ShowRoomControl : ControlBase {

        private ShowRoomPageBase _basePage;
        public ShowRoomPageBase BasePage {
            get {
                if (_basePage == null) {
                    _basePage = this.Page as ShowRoomPageBase;
                }
                return _basePage;
            }
        }

        public CompanyInfoView CompanyView {
            get {
                return BasePage != null ? BasePage.CompanyView : null;
            }
        }
    }
}
